//
//  HSZJLAreaPickView.h
//  OutSystems
//
//  Created by HiPal on 16/2/23.
//
//

#import <UIKit/UIKit.h>
@class HSZJLAreaPickView;

@protocol HSZJLAreaPickViewDelegate <NSObject>

- (void)hsZJLAreaPickView:(HSZJLAreaPickView *)pickView;

@end

@interface HSZJLAreaPickView : UIView <UIPickerViewDataSource,UIPickerViewDelegate>
{
    
    NSMutableArray *_provinces,*_citys,*_areas;
    
}
@property (nonatomic ,weak)id <HSZJLAreaPickViewDelegate>delegate;

@property (weak, nonatomic) IBOutlet UIPickerView *pickView;
@property (weak, nonatomic) IBOutlet UIButton *cancelBtn;
@property (weak, nonatomic) IBOutlet UIButton *finishBtn;

/**
 *  选择的区域代码
 */
@property (copy, nonatomic) NSString *zipcode;
/**
 *  省份
 */
@property (copy, nonatomic) NSString *province;
/**
 *  市
 */
@property (copy, nonatomic) NSString *city;
/**
 *  区域
 */
@property (copy, nonatomic) NSString *area;
/**
 *  城市
 */
@property (nonatomic ,strong) NSArray *citys;


/**
 *  取消
 *
 *  @param sender
 */
- (IBAction)cancelClick:(UIButton *)sender;
/**
 *  完成
 *
 *  @param sender
 */
- (IBAction)finishClick:(UIButton *)sender;

@end
